package com.example.mushroom.service;

import com.example.mushroom.entity.AlertRule;
import java.util.List;

public interface AlertRuleService {
    int insertAlertRule(AlertRule alertRule);
    AlertRule selectAlertRuleById(Integer id);
    List<AlertRule> selectAllAlertRules();
    int updateAlertRule(AlertRule alertRule);
    int deleteAlertRuleById(Integer id);
    List<AlertRule> selectAlertRulesByPage(int offset, int limit);
}